package com.sun.dao;

import com.sun.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 烛龙神
 * @Description TODO
 * @date 2021-04-11 15:55
 */
@Mapper
@Repository
public interface AdminMapper {

    //保存用户数据
    void AdminSave(Admin admin);

    //登录用户名和密码验证
    Admin AdminLogin(@Param("name")String name,@Param("password")String password);

}
